package com.bestcem.xm.user.mq.message.user;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 系统运营短信和邮件记录消息
 *
 * @author panyun <yun.pan@idiaoyan.com>
 * @version v1.0
 * @date 2022/3/17 22:16
 */
@Getter
@Setter
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class SmsMessage {
    /**
     *
     */
    private String content;
    /**
     *
     */
    private String name;
    /**
     *
     */
    @JsonProperty("org_id")
    @JSONField(name = "org_id")
    private String orgId;
    /**
     *
     */
    private String receiver;
    /**
     *
     */
    private String sender;
    /**
     *
     */
    private Integer type;
    /**
     *
     */
    @JsonProperty("sms_channel")
    @JSONField(name = "sms_channel")
    private Integer smsChannel;
    /**
     *
     */
    private Integer status;
    /**
     *
     */
    @JsonProperty("send_time")
    @JSONField(name = "send_time")
    private String sendTime;
    /**
     *
     */
    @JsonProperty("template_id")
    @JSONField(name = "template_id")
    private String templateId;
    /**
     *
     */
    private String params;
}
